ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS service tutorial -- make error

asked 2012-03-20 04:27:51 -0600

McMurdo gravatar image

updated 2012-03-21 16:27:06 -0600

tfoote gravatar image

I am just learning ROS. I was following the tutorial here:

http://www.ros.org/wiki/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29

Then I tried to 'make' the package, beginner_tutorials, but this is the output I got. There cannot be an error in the already made tutorial packages. Am I missing something?

[ 75%] Building CXX object CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o In file included from /home/gregkoshmak/ros_workspace/beginner_tutorials/src/add_two_ints_client.cpp:2: /home/gregkoshmak/ros_workspace/beginner_tutorials/srv_gen/cpp/include/beginner_tutorials/AddTwoInts.h:208: error: ‘IsMessage’ is not a template
make[2]: * [CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o] Error 1 make[1]: * [CMakeFiles/add_two_ints_client.dir/all] Error 2

edit retag flag offensive close merge delete

Comments

In the last paragraph, the tutorial offers some hints to fix failing builds. Did you already double-check those?

roehling gravatar image roehling  ( 2012-03-20 05:36:23 -0600 )edit

Make sure you've performed the following tutorial, regarding the creation of the srv file, successfully: http://www.ros.org/wiki/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_srv. Seems to be a problem there.

kshitij gravatar image kshitij  ( 2012-03-20 08:52:14 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2012-04-08 14:13:00 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

From comments: @kshitij Make sure you've performed the following tutorial, regarding the creation of the srv file, successfully: http://www.ros.org/wiki/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_srv. Seems to be a problem there.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-20 04:27:51 -0600

Seen: 904 times

Last updated: Apr 08 '12